package com.yfp.machine.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * (MachineError)实体类
 *
 * 
 * @since 2023-12-14 13:53:34
 */
@Schema(title = "设备故障")
public class MachineError implements Serializable {
    private static final long serialVersionUID = 479001308198996167L;
/**
     * 设备id
     */
    @Schema(title = "设备id")
    private String machineId;
/**
     * 设备类型（1：二代机 2：三代机）
     */
    @Schema(title = "设备类型（1：二代机 2：三代机）")
    private Integer machineType;
/**
     * 故障类型
     */
    @Schema(title = "故障类型")
    private String errorType;
/**
     * 故障名称
     */
    @Schema(title = "故障名称")
    private String errorName;
/**
     * 故障描述
     */
    @Schema(title = "故障描述")
    private String errorDesc;
/**
     * 故障时间
     */
    @Schema(title = "故障时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date errorTime;
/**
     * 故障修复时间
     */
    @Schema(title = "故障修复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date errorRepairTime;

    @Schema(title = "货柜编号")
    private String containerNo;

    public String getContainerNo() {
        return containerNo;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public Integer getMachineType() {
        return machineType;
    }

    public void setMachineType(Integer machineType) {
        this.machineType = machineType;
    }

    public String getErrorType() {
        return errorType;
    }

    public void setErrorType(String errorType) {
        this.errorType = errorType;
    }

    public String getErrorName() {
        return errorName;
    }

    public void setErrorName(String errorName) {
        this.errorName = errorName;
    }

    public String getErrorDesc() {
        return errorDesc;
    }

    public void setErrorDesc(String errorDesc) {
        this.errorDesc = errorDesc;
    }

    public Date getErrorTime() {
        return errorTime;
    }

    public void setErrorTime(Date errorTime) {
        this.errorTime = errorTime;
    }

    public Date getErrorRepairTime() {
        return errorRepairTime;
    }

    public void setErrorRepairTime(Date errorRepairTime) {
        this.errorRepairTime = errorRepairTime;
    }

}

